package com.quanyan.api;

import java.util.Date;

public class ApiLog implements java.io.Serializable {
    /**
     *
     */
    private static final long serialVersionUID = -6953062265998293526L;
    private Long id;
    private String request;
    private String response;
    private Integer success;
    private String beanName;
    private String methodName;
    private Date insertTime;
    private Long useTime;
    private String ip;
    private String clientLogId;
    private String clientLogSession;
    private Date clientLogTime;

    public ApiLog() {
    }

    public ApiLog(String request, String response, Integer success, String beanName, String methodName, Date insertTime,
                  Long useTime, String ip, String clientLogId, String clientLogSession, Date clientLogTime) {
        this.request = request;
        this.response = response;
        this.success = success;
        this.beanName = beanName;
        this.methodName = methodName;
        this.insertTime = insertTime;
        this.useTime = useTime;
        this.ip = ip;
        this.clientLogId = clientLogId;
        this.clientLogSession = clientLogSession;
        this.clientLogTime = clientLogTime;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getRequest() {
        return request;
    }

    public void setRequest(String request) {
        this.request = request;
    }

    public String getResponse() {
        return response;
    }

    public void setResponse(String response) {
        this.response = response;
    }

    public Integer getSuccess() {
        return success;
    }

    public void setSuccess(Integer success) {
        this.success = success;
    }

    public String getBeanName() {
        return beanName;
    }

    public void setBeanName(String beanName) {
        this.beanName = beanName;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public Date getInsertTime() {
        return insertTime;
    }

    public void setInsertTime(Date insertTime) {
        this.insertTime = insertTime;
    }

    public Long getUseTime() {
        return useTime;
    }

    public void setUseTime(Long useTime) {
        this.useTime = useTime;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getClientLogId() {
        return clientLogId;
    }

    public void setClientLogId(String clientLogId) {
        this.clientLogId = clientLogId;
    }

    public String getClientLogSession() {
        return clientLogSession;
    }

    public void setClientLogSession(String clientLogSession) {
        this.clientLogSession = clientLogSession;
    }

    public Date getClientLogTime() {
        return clientLogTime;
    }

    public void setClientLogTime(Date clientLogTime) {
        this.clientLogTime = clientLogTime;
    }
}


